libkovan  1
The kovan standard library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
thread.h
Go to the documentation of this file.
1 #ifndef _THREAD_H_
2 #define _THREAD_H_
3 
4 #include "export.h"
5 
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
9 
10 typedef struct
11 {
12  void *data;
13 } mutex;
14 
15 typedef struct
16 {
17  void *data;
18 } thread;
19 
20 typedef void (*thread_function)();
21 
27 
32 
33 #ifdef __cplusplus
34 }
35 #endif
36 
37 #endif